package com.hongsheng.service;

/*
@Author：郭振文
@Package：com.hongsheng.service
@File：AuthorityService
@Date：2023/8/11 11:35
*/

import com.github.pagehelper.PageInfo;
import com.hongsheng.pojo.Authority;

import java.util.List;

public interface AuthorityService {

    Boolean insertAuthority(Authority authority);

    Boolean deleteAuthority(Integer id);

    Boolean updateAuthority(Authority authority);

    PageInfo<Authority> selectAuthority(Integer currentPage, Integer pageSize, Authority authority);

    List<Authority> selectAuthority1();

    Authority selectAuthorityById(Integer id);

}
